package top.jacktgq.candychat;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication()
// 扫描 MyBatis Mapper包路径
@MapperScan(basePackages = "top.jacktgq.candychat.mapper")
// 扫描所有需要的包，包含一些常用的工具类包所在的路径
@ComponentScan(basePackages = {"top.jacktgq", "org.n3r.idworker"})
public class CandychatApplication {
	public static void main(String[] args) {
		SpringApplication.run(CandychatApplication.class, args);
	}
}
